<template>
    <div class="box1">
        <h1 date="欢迎登录教学设备管理系统">欢迎登录教学设备管理系统</h1>
    </div>
</template>

<script>
    export default {
        data() {
            return {
                
            }
        }
    }
</script>

<style scoped lang="less">
.box1{
    height: 496px;
    background-color: #222;
    display: flex;
    justify-content: center;
    align-items: center;
}
h1{
    color: #333333;
    font-size:  5em;
    font-family: "STXingkai";
    letter-spacing: -.1em;
    position: relative;
}
h1::after{
    content: attr(date);
    color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    clip-path: ellipse(100px 100px at 0 50%);
    animation: move 3s infinite alternate;
    background: url(../assets/images/jbian.png) center center;
    background-size: 150%;
    background-clip: text;
}
@keyframes move {
    from{clip-path: ellipse(100px 100px at 0 50%)};
    to{clip-path: ellipse(100px 100px at 100% 50%)};
}
</style>